bitkeeper revision 1.1159.258.91 (425d997aPeMVaT8eLqm62dnz9Sko4w)
authoriap10@tetris.cl.cam.ac.uk <iap10@tetris.cl.cam.ac.uk>
Wed, 13 Apr 2005 22:13:14 +0000 (22:13 +0000)
committeriap10@tetris.cl.cam.ac.uk <iap10@tetris.cl.cam.ac.uk>
Wed, 13 Apr 2005 22:13:14 +0000 (22:13 +0000)
Better default for dom0 memory.

Add Xen cmd line parameter to set max number of CPUs ("maxcpus").
This doesn't change the enumeration order, so you may wish to use
it in conjunction with 'noht'.

xen/arch/x86/setup.c
xen/arch/x86/smpboot.c

index 1de2e2d71d310e55721a158cc1d2fceaf4bc073d..3b1bfc2092cedfec890e28f5dd3ac23c3138058c 100644 (file)
@@ -22,7 +22,7 @@
 #include <asm/e820.h>
 
 /* opt_dom0_mem: Kilobytes of memory allocated to domain 0. */
-static unsigned int opt_dom0_mem = 16000;
+static unsigned int opt_dom0_mem = 64000;
 integer_param("dom0_mem", opt_dom0_mem);
 
 /*
index e3e152bb496acc1f1152c4265770863d6732e0e3..6cf1c5f3dac3735832b39a8371f74f165db8e52d 100644 (file)
 
 #ifdef CONFIG_SMP
 
-/* Setup configured maximum number of CPUs to activate */
+/* Cconfigured maximum number of CPUs to activate. We name the parameter 
+"maxcpus" rather than max_cpus to be compatible with Linux */
 static int max_cpus = -1;
+integer_param("maxcpus", max_cpus); 
 
 /* Total count of live CPUs */
 int smp_num_cpus = 1;